package com.salelogistics.basic.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.salelogistics.common.core.annotation.Excel;
import com.salelogistics.common.core.web.domain.BaseEntity;

/**
 * 材料品牌对象 bas_material_brand
 * 
 * @author ruoyi
 * @date 2023-07-20
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BasMaterialBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品牌编号 */
    private Long materialBrandId;

    /** 品牌编码 */
    @Excel(name = "品牌编码")
    private String materialBrandCode;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String materialBrandName;

    /** 最近一次修改人 */
    private String editedBy;

    /** 最近一次修改时间 */
    private String editedTime;

    /** 启用状态 */
    private Long status;

    /** 删除状态 */
    private Long isDeleted;

    public void setMaterialBrandId(Long materialBrandId) 
    {
        this.materialBrandId = materialBrandId;
    }

    public Long getMaterialBrandId() 
    {
        return materialBrandId;
    }
    public void setMaterialBrandCode(String materialBrandCode)
    {
        this.materialBrandCode = materialBrandCode;
    }

    public String getMaterialBrandCode()
    {
        return materialBrandCode;
    }
    public void setMaterialBrandName(String materialBrandName) 
    {
        this.materialBrandName = materialBrandName;
    }

    public String getMaterialBrandName() 
    {
        return materialBrandName;
    }
    public void setEditedBy(String editedBy) 
    {
        this.editedBy = editedBy;
    }

    public String getEditedBy() 
    {
        return editedBy;
    }
    public void setEditedTime(String editedTime)
    {
        this.editedTime = editedTime;
    }

    public String getEditedTime()
    {
        return editedTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialBrandId", getMaterialBrandId())
            .append("materialBrandCode", getMaterialBrandCode())
            .append("materialBrandName", getMaterialBrandName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("editedBy", getEditedBy())
            .append("editedTime", getEditedTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
